﻿@model IEnumerable<FCNS.ERP.Models.ErpDinnerPlan>

@{
    ViewBag.Title = "订餐计划";
    Layout = "~/Views/Shared/_Layout.cshtml";;
}

<h2>@ViewBag.Title</h2>

<p> 
    <a class="newObjA" href="/BookDinner/DinnerPlanNew">新增</a>
</p>
<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.Date)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.BookDinnerType)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Count)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Date )
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.BookDinnerType)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Count)
        </td>
        <td> 
            <a href="DinnerPlanDelete/@item.Id" class="objDelete">删除</a>
        </td>
    </tr>
}

</table>
